package com.moneywelcome.atomloanassembly.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("用户借款表参数")
@TableName("user_loan")
public class UserLoan {
    @TableId(value = "loan_id",type = IdType.AUTO)
    private Integer loanId;

    @ApiModelProperty("用户Id")
    private Integer userId;

    @ApiModelProperty("贷款利率")
    private Double loanRate;

    @ApiModelProperty("贷款金额")
    private Double loanMoney;

    @ApiModelProperty("贷款期数")
    private Integer loanStage;

    @ApiModelProperty("下款时间")
    private Date loanTime;

    @ApiModelProperty("手续费")
    private Double serviceCharge;

    @ApiModelProperty("贷款产品id")
    private Integer loanProductId;

    @ApiModelProperty("下款账号")
    private  String  bankAccount;

    @ApiModelProperty("状态")
    private String loanStatus;

}
